// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC

@use "common/refactor/common-refactor.scss" as *;
@use "common/refactor/common-dashboard";
@use "./placeholder.scss";

.dashboard-container {
  flex: 1 0 0;
  margin-right: $s-16;
  overflow-y: auto;
  width: 100%;
  border-top: $s-1 solid var(--color-background-quaternary);

  &.dashboard-projects {
    user-select: none;
  }
  &.dashboard-shared {
    width: calc(100vw - $s-320);
    margin-right: $s-52;
  }

  &.search {
    margin-top: $s-12;
  }
}

.grid-empty-placeholder.search {
  align-items: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: $s-200;
  background: transparent;
  border: $s-1 solid var(--color-background-quaternary);
  border-radius: $br-8;

  .text {
    color: var(--color-foreground-primary);
  }
  .icon svg {
    stroke: var(--color-foreground-secondary);
    width: $s-32;
    height: $s-32;
  }
}
